package com.ruoyi.hospital.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资对象 materiel
 * 
 * @author qichi
 * @date 2023-07-10
 */
public class Materiel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String name;

    /** 一级分类 */
    @Excel(name = "一级分类")
    private Long classify;

    /** 二级分类 */
    @Excel(name = "二级分类")
    private Long classifyS;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 适合宠物类型 */
    @Excel(name = "适合宠物类型")
    private Integer petType;

    /** 保质期
 */
    @Excel(name = "保质期")
    private Long expirationDate;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barCode;

    /** 更多条形码 */
    @Excel(name = "更多条形码")
    private String barCodeS;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 标准进货价 */
    @Excel(name = "标准进货价")
    private BigDecimal standardPurchasingCost;

    /** 平均成本价格 */
    @Excel(name = "平均成本价格")
    private BigDecimal averageCostPrice;

    /** 零售价 */
    @Excel(name = "零售价")
    private BigDecimal retailPrice;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal memberPrice;

    /** 是否支持负库存销售 0是1否 */
    @Excel(name = "是否支持负库存销售 0是1否")
    private Integer negativeOnHandType;

    /** 库存预警数 */
    @Excel(name = "库存预警数")
    private Long inventoryWarning;

    /** 是否参与会员打折 */
    @Excel(name = "是否参与会员打折")
    private Integer memberDiscountType;

    /** 是否复购提醒 */
    @Excel(name = "是否复购提醒")
    private Integer repurchaseType;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 物资id */
    @Excel(name = "物资id")
    private Long materielId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setClassify(Long classify) 
    {
        this.classify = classify;
    }

    public Long getClassify() 
    {
        return classify;
    }
    public void setClassifyS(Long classifyS) 
    {
        this.classifyS = classifyS;
    }

    public Long getClassifyS() 
    {
        return classifyS;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setPetType(Integer petType) 
    {
        this.petType = petType;
    }

    public Integer getPetType() 
    {
        return petType;
    }
    public void setExpirationDate(Long expirationDate) 
    {
        this.expirationDate = expirationDate;
    }

    public Long getExpirationDate() 
    {
        return expirationDate;
    }
    public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setBarCodeS(String barCodeS) 
    {
        this.barCodeS = barCodeS;
    }

    public String getBarCodeS() 
    {
        return barCodeS;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setStandardPurchasingCost(BigDecimal standardPurchasingCost) 
    {
        this.standardPurchasingCost = standardPurchasingCost;
    }

    public BigDecimal getStandardPurchasingCost() 
    {
        return standardPurchasingCost;
    }
    public void setAverageCostPrice(BigDecimal averageCostPrice) 
    {
        this.averageCostPrice = averageCostPrice;
    }

    public BigDecimal getAverageCostPrice() 
    {
        return averageCostPrice;
    }
    public void setRetailPrice(BigDecimal retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice() 
    {
        return retailPrice;
    }
    public void setMemberPrice(BigDecimal memberPrice) 
    {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getMemberPrice() 
    {
        return memberPrice;
    }
    public void setNegativeOnHandType(Integer negativeOnHandType) 
    {
        this.negativeOnHandType = negativeOnHandType;
    }

    public Integer getNegativeOnHandType() 
    {
        return negativeOnHandType;
    }
    public void setInventoryWarning(Long inventoryWarning) 
    {
        this.inventoryWarning = inventoryWarning;
    }

    public Long getInventoryWarning() 
    {
        return inventoryWarning;
    }
    public void setMemberDiscountType(Integer memberDiscountType) 
    {
        this.memberDiscountType = memberDiscountType;
    }

    public Integer getMemberDiscountType() 
    {
        return memberDiscountType;
    }
    public void setRepurchaseType(Integer repurchaseType) 
    {
        this.repurchaseType = repurchaseType;
    }

    public Integer getRepurchaseType() 
    {
        return repurchaseType;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setMaterielId(Long materielId) 
    {
        this.materielId = materielId;
    }

    public Long getMaterielId() 
    {
        return materielId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("classify", getClassify())
            .append("classifyS", getClassifyS())
            .append("supplier", getSupplier())
            .append("brand", getBrand())
            .append("petType", getPetType())
            .append("expirationDate", getExpirationDate())
            .append("barCode", getBarCode())
            .append("barCodeS", getBarCodeS())
            .append("specification", getSpecification())
            .append("unit", getUnit())
            .append("standardPurchasingCost", getStandardPurchasingCost())
            .append("averageCostPrice", getAverageCostPrice())
            .append("retailPrice", getRetailPrice())
            .append("memberPrice", getMemberPrice())
            .append("negativeOnHandType", getNegativeOnHandType())
            .append("inventoryWarning", getInventoryWarning())
            .append("memberDiscountType", getMemberDiscountType())
            .append("repurchaseType", getRepurchaseType())
            .append("weight", getWeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("materielId", getMaterielId())
            .toString();
    }
}
